<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>发现文章 - AI 产品之家</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
    <style>
        .text-link {
            transition: color 0.2s ease-in-out;
        }
        .button-hover {
            transition: all 0.2s ease-in-out;
        }
    </style>
</head>
<body class="bg-slate-50 text-slate-700 antialiased font-sans">

    <!-- Navbar -->
    <nav class="bg-white/90 backdrop-blur-lg shadow-sm sticky top-0 z-50">
        <div class="container mx-auto px-6 py-4">
            <div class="flex items-center justify-between">
                <div class="text-2xl font-bold text-slate-900">
                    <a href="index.html">AI产品之家</a>
                </div>
                <div class="hidden md:flex items-center space-x-8">
                    <a href="index.html" class="text-slate-600 hover:text-blue-600 font-medium text-link">首页</a>
                    <a href="discover.html" class="text-blue-600 font-semibold">发现</a>
                    <a href="products.html" class="text-slate-600 hover:text-blue-600 font-medium text-link">产品</a>
                    <a href="cases.html" class="text-slate-600 hover:text-blue-600 font-medium text-link">案例</a>
                </div>
                <div class="flex items-center space-x-4">
                     <a href="#" class="hidden md:block bg-blue-600 text-white py-2 px-5 rounded-lg hover:bg-blue-700 font-semibold button-hover">发布文章</a>
                    <button id="mobile-menu-button" class="md:hidden text-slate-600 focus:outline-none">
                        <i class="fas fa-bars fa-lg"></i>
                    </button>
                </div>
            </div>
            <!-- Mobile Menu -->
            <div id="mobile-menu" class="hidden md:hidden mt-4">
                <a href="index.html" class="block py-2 px-4 text-sm text-slate-600 hover:bg-slate-100 rounded-md">首页</a>
                <a href="discover.html" class="block py-2 px-4 text-sm text-blue-600 bg-slate-100 rounded-md font-semibold">发现</a>
                <a href="products.html" class="block py-2 px-4 text-sm text-slate-600 hover:bg-slate-100 rounded-md">产品</a>
                <a href="cases.html" class="block py-2 px-4 text-sm text-slate-600 hover:bg-slate-100 rounded-md">案例</a>
                <a href="#" class="block mt-2 bg-blue-600 text-white py-2 px-4 rounded-lg text-center font-bold button-hover">发布文章</a>
            </div>
        </div>
    </nav>

    <!-- Main Content -->
    <main class="container mx-auto px-6 py-8">
        <!-- Promo Section -->
        <div class="bg-white p-4 rounded-xl shadow-md mb-6">
            <div class="w-full h-40 md:h-48 bg-slate-200 rounded-lg flex items-center justify-center">
                <p class="text-slate-500">宣传图 Banner</p>
            </div>
        </div>

        <!-- Category Filters -->
        <div class="mb-6 overflow-x-auto pb-2">
             <div class="flex items-center space-x-2 whitespace-nowrap">
                <span class="text-sm font-bold text-slate-600 flex-shrink-0">分类:</span>
                <button class="bg-blue-600 text-white px-4 py-1.5 text-sm rounded-full font-semibold button-hover">全部</button>
                <button class="bg-white text-slate-600 px-4 py-1.5 text-sm rounded-full border border-slate-200 hover:bg-slate-100 hover:border-slate-300 button-hover font-medium">工作效率</button>
                <button class="bg-white text-slate-600 px-4 py-1.5 text-sm rounded-full border border-slate-200 hover:bg-slate-100 hover:border-slate-300 button-hover font-medium">数据分析</button>
                <button class="bg-white text-slate-600 px-4 py-1.5 text-sm rounded-full border border-slate-200 hover:bg-slate-100 hover:border-slate-300 button-hover font-medium">设计制图</button>
                <button class="bg-white text-slate-600 px-4 py-1.5 text-sm rounded-full border border-slate-200 hover:bg-slate-100 hover:border-slate-300 button-hover font-medium">市场营销</button>
                <button class="bg-white text-slate-600 px-4 py-1.5 text-sm rounded-full border border-slate-200 hover:bg-slate-100 hover:border-slate-300 button-hover font-medium">人力资源</button>
                <span class="text-sm text-slate-500 hover:underline cursor-pointer flex-shrink-0 text-link">收起 <i class="fas fa-chevron-up ml-1 text-xs"></i></span>
            </div>
        </div>
        
        <div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
            <!-- Left Column -->
            <div class="lg:col-span-2">
                <div class="bg-white rounded-xl shadow-md">
                    <!-- Sort and Filter -->
                    <div class="px-6 py-4 border-b border-slate-200 flex justify-between items-center">
                        <div class="flex space-x-6">
                            <button class="font-bold text-blue-600 text-link relative">最新<span class="absolute -bottom-4 left-1/2 -translate-x-1/2 w-4 h-0.5 bg-blue-600"></span></button>
                            <button class="font-bold text-slate-500 hover:text-blue-600 text-link">热门</button>
                        </div>
                    </div>
                    <!-- Articles List -->
                    <div class="divide-y divide-slate-100">
                        <!-- Article Item -->
                        <div class="p-6 flex space-x-4 hover:bg-slate-50/50 transition-colors duration-200">
                            <img src="https://i.pravatar.cc/150?u=author1" class="w-10 h-10 rounded-full flex-shrink-0 mt-1" alt="Author">
                            <div class="flex-grow">
                                <a href="detail.html" class="font-bold text-lg text-slate-800 hover:text-blue-700 text-link">深度学习的未来：机遇与挑战</a>
                                <p class="text-sm text-slate-500 mt-1">作者：aiph.admin</p>
                                <p class="text-sm text-slate-600 mt-2">从 GPT-4 到 Sora，我们正处于一个技术爆炸的时代，但前路并非一帆风顺...</p>
                            </div>
                            <div class="text-right text-sm text-slate-500 flex-shrink-0 space-y-2">
                                <p><i class="far fa-thumbs-up w-5 mr-1"></i> 113</p>
                                <p><i class="far fa-comment w-5 mr-1"></i> 13</p>
                                <p><i class="far fa-eye w-5 mr-1"></i> 2.1k</p>
                            </div>
                        </div>
                        <!-- More Items... (repeat the structure) -->
                        <div class="p-6 flex space-x-4 hover:bg-slate-50/50 transition-colors duration-200">
                            <img src="https://i.pravatar.cc/150?u=author2" class="w-10 h-10 rounded-full flex-shrink-0 mt-1" alt="Author">
                            <div class="flex-grow">
                                <a href="detail.html" class="font-bold text-lg text-slate-800 hover:text-blue-700 text-link">普通人如何利用 AI 提升工作效率？</a>
                                <p class="text-sm text-slate-500 mt-1">作者：aiph.admin</p>
                                <p class="text-sm text-slate-600 mt-2">本文介绍5个实用 AI 工具，无需编程背景，让你事半功倍。</p>
                            </div>
                            <div class="text-right text-sm text-slate-500 flex-shrink-0 space-y-2">
                                <p><i class="far fa-thumbs-up w-5 mr-1"></i> 204</p>
                                <p><i class="far fa-comment w-5 mr-1"></i> 45</p>
                                <p><i class="far fa-eye w-5 mr-1"></i> 5.8k</p>
                            </div>
                        </div>
                         <div class="p-6 flex space-x-4 hover:bg-slate-50/50 transition-colors duration-200">
                            <img src="https://i.pravatar.cc/150?u=author3" class="w-10 h-10 rounded-full flex-shrink-0 mt-1" alt="Author">
                            <div class="flex-grow">
                                <a href="detail.html" class="font-bold text-lg text-slate-800 hover:text-blue-700 text-link">Runway发布Gen-3，视频生成效果再逼真</a>
                                <p class="text-sm text-slate-500 mt-1">作者：aiph.admin</p>
                                <p class="text-sm text-slate-600 mt-2">Gen-3 模型在人物一致性、动作流畅度和画面细节上有了显著提升...</p>
                            </div>
                            <div class="text-right text-sm text-slate-500 flex-shrink-0 space-y-2">
                                <p><i class="far fa-thumbs-up w-5 mr-1"></i> 340</p>
                                <p><i class="far fa-comment w-5 mr-1"></i> 89</p>
                                <p><i class="far fa-eye w-5 mr-1"></i> 9.1k</p>
                            </div>
                        </div>
                        <div class="p-6 flex space-x-4 hover:bg-slate-50/50 transition-colors duration-200">
                            <img src="https://i.pravatar.cc/150?u=author4" class="w-10 h-10 rounded-full flex-shrink-0 mt-1" alt="Author">
                            <div class="flex-grow">
                                <a href="detail.html" class="font-bold text-lg text-slate-800 hover:text-blue-700 text-link">AI在医疗影像诊断中的应用与前景</a>
                                <p class="text-sm text-slate-500 mt-1">作者：aiph.admin</p>
                                <p class="text-sm text-slate-600 mt-2">从CT扫描到病理切片，AI正在成为医生不可或缺的辅助工具...</p>
                            </div>
                            <div class="text-right text-sm text-slate-500 flex-shrink-0 space-y-2">
                                <p><i class="far fa-thumbs-up w-5 mr-1"></i> 180</p>
                                <p><i class="far fa-comment w-5 mr-1"></i> 25</p>
                                <p><i class="far fa-eye w-5 mr-1"></i> 3.5k</p>
                            </div>
                        </div>
                    </div>
                    <!-- Pagination -->
                    <div class="p-6 flex justify-center space-x-2">
                        <button class="px-4 py-2 text-sm font-medium text-slate-500 bg-white border border-slate-200 rounded-md hover:bg-slate-100 button-hover">上一页</button>
                        <button class="px-4 py-2 text-sm font-medium text-white bg-blue-600 border border-blue-600 rounded-md button-hover">1</button>
                        <button class="px-4 py-2 text-sm font-medium text-slate-700 bg-white border border-slate-200 rounded-md hover:bg-slate-100 button-hover">2</button>
                        <button class="px-4 py-2 text-sm font-medium text-slate-700 bg-white border border-slate-200 rounded-md hover:bg-slate-100 button-hover">3</button>
                        <button class="px-4 py-2 text-sm font-medium text-slate-700 bg-white border border-slate-200 rounded-md hover:bg-slate-100 button-hover">下一页</button>
                    </div>
                </div>
            </div>

            <!-- Right Sidebar -->
            <div class="lg:col-span-1 space-y-6">
                <aside class="bg-white rounded-xl shadow-md p-4">
                    <h3 class="font-bold text-lg mb-4 border-b border-slate-200 pb-2 text-slate-800">推荐</h3>
                    <div class="space-y-4">
                        <!-- Recommendation Item -->
                        <div class="h-40 bg-slate-200 rounded-lg flex items-center justify-center">
                           <p class="text-slate-500 text-sm">广告/推荐位</p>
                        </div>
                         <div class="h-40 bg-slate-200 rounded-lg flex items-center justify-center">
                           <p class="text-slate-500 text-sm">广告/推荐位</p>
                        </div>
                    </div>
                </aside>
            </div>
        </div>
    </main>

    <!-- Footer -->
    <footer class="bg-white mt-12 border-t border-slate-200">
        <div class="container mx-auto px-6 py-8 text-center text-slate-500">
            <p>&copy; 2025 AI产品之家. All Rights Reserved.</p>
        </div>
    </footer>

    <script>
        const mobileMenuButton = document.getElementById('mobile-menu-button');
        const mobileMenu = document.getElementById('mobile-menu');

        mobileMenuButton.addEventListener('click', () => {
            mobileMenu.classList.toggle('hidden');
        });
    </script>
</body>
</html> 